Skip to content

ci: upgrade Node.js 20 → 22 in squad-standard-lint-markdown#423

Merged
mpaulosky merged 5 commits into
devfrom
squad/420-node22-lint-markdown-workflow
Jul 1, 2026
Merged

ci: upgrade Node.js 20 → 22 in squad-standard-lint-markdown#423
mpaulosky merged 5 commits into
devfrom
squad/420-node22-lint-markdown-workflow

Conversation

@mpaulosky

Copy link
Copy Markdown
Owner

Summary

markdownlint-cli2 0.23.0 (bumped in #420) and markdownlint 0.41.0 now require Node.js >= 22. The squad-standard-lint-markdown.yml workflow was pinned to Node 20, which would fail once the new devDependencies are installed locally.

Changes

  • .github/workflows/squad-standard-lint-markdown.yml: node-version: "20"node-version: "22"

Notes

Closes #420 (companion workflow fix)

Working as Boromir (DevOps)

mpaulosky and others added 2 commits July 1, 2026 12:15
markdownlint-cli2 0.23.0 and markdownlint 0.41.0 now require
Node.js >= 22. Update the workflow runner to match.

Relates to #420

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… initializers

Aspire 13.3.5 requires Arguments as a required member. Tests now initialize
with empty array [] to satisfy the compiler constraint CS9035.

- MongoClearDataIntegrationTests: Added Arguments = []
- MongoSeedDataIntegrationTests: Added Arguments = []
- MongoShowStatsIntegrationTests: Added Arguments = []

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 1, 2026 19:15
@github-actions github-actions Bot added the squad Squad triage inbox — Lead will assign to a member label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

🏗️ PR Added to Squad Triage Queue

This PR has been labeled with squad and added to the triage queue.

Next steps:

  • The squad Lead will review and assign to an appropriate team member
  • A squad:member label will be added after triage

If you know which squad member should handle this, you can add the appropriate squad:member label yourself.

- .github/dependabot.yml: Remove spaces in brackets [ "*" ] → ["*"]
- .github/workflows/add-issues-to-project.yml: Split long GraphQL mutation
  and break long error message line
- .github/workflows/blog-readme-sync.yml: Split long regex pattern and
  extract link pattern to variable for readability

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Test Results Summary

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit bfa829e. ± Comparison against base commit 30e9427.

♻️ This comment has been updated with latest results.

- .copilot/skills/git-workflow/SKILL.md: Add bash/text language specs
- .copilot/skills/model-selection/SKILL.md: Add bash/json language specs
- .copilot/skills/pre-push-test-gate/SKILL.md: Add bash language specs
- .copilot/skills/personal-squad/SKILL.md: Add bash language specs
- .copilot/skills/mongodb-filter-pattern/SKILL.md: Add csharp/bash language specs
- .copilot/skills/auth0-token-forwarding/SKILL.md: Add csharp/xml language specs
- .copilot/skills/cli-wiring/SKILL.md: Add bash/csharp language specs
- .github/agents/squad.agent.md: Add language specs to all code blocks

Fixes MD040 (missing language specs) markdown linting errors.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates CI configuration to use Node.js 22 for the markdown lint workflow (to meet newer markdownlint toolchain requirements) and also adjusts a few AppHost MongoDB integration tests to populate a new/required ExecuteCommandContext.Arguments field.

Changes:

  • Update .github/workflows/squad-standard-lint-markdown.yml to use actions/setup-node with Node.js 22.
  • Update AppHost MongoDB integration tests to initialize ExecuteCommandContext.Arguments with an empty collection.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/squad-standard-lint-markdown.yml Bumps Node.js version from 20 → 22 for the markdown lint workflow.
tests/AppHost.Tests/MongoShowStatsIntegrationTests.cs Initializes ExecuteCommandContext.Arguments to an empty collection in test helper context creation.
tests/AppHost.Tests/MongoSeedDataIntegrationTests.cs Initializes ExecuteCommandContext.Arguments to an empty collection in test helper context creation.
tests/AppHost.Tests/MongoClearDataIntegrationTests.cs Initializes ExecuteCommandContext.Arguments to an empty collection in test helper context creation.

Comment on lines 152 to +156
ResourceName = "mongodb",
ServiceProvider = new ServiceCollection().BuildServiceProvider(),
Logger = NullLogger.Instance,
CancellationToken = TestContext.Current.CancellationToken,
Arguments = [],
- squad-standard-lint-yaml.yml: Remove trailing blank line
- squad-dependabot-auto-merge.yml: Remove trailing blank line
- squad-main-from-dev-guard.yml: Remove trailing blank line
- squad-standard-lint-markdown.yml: Remove trailing blank line

Fixes empty-lines yamllint errors.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mpaulosky mpaulosky merged commit fde1a8d into dev Jul 1, 2026
4 of 9 checks passed
@mpaulosky mpaulosky deleted the squad/420-node22-lint-markdown-workflow branch July 1, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

squad Squad triage inbox — Lead will assign to a member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants